package cn.bud.msgbus.provider.config;

import cn.bud.msgbus.provider.properties.Zl9cMsgBusClientConfig;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.annotation.Resource;

/**
 * BusConfig
 *
 * @author hxj
 * @version 1.0
 * @description
 * @date 2024-06-19 10:25
 */
@Configuration
public class BusConfig {

    @Resource
    private Zl9cMsgBusClientConfig msgBusClientConfig;


    @PostConstruct
    public void init() {
        // 初始化客户端
        initClient();

    }

    @PreDestroy
    public void stop() {
    }

    private void initClient() {
//        client =
    }


}
